package com.team.ai.mapper;


import com.team.ai.entity.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BookMapper {
    int insert(String title,String text,String img);

    int delete(int id);

    int update(String title,String text,String img,int id);
    List<Book> selectList();

    Book  selectDetail(int id);


}
